WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 216
Dependencies 19
Dependents 1
Total lines 1,708
Lines of code 1,001
Logical lines of code 614
Comment lines 245
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
square_sor_sync()
D
24
38 164
upsert_catalog_objects()
D
25
30 160
search_matched_products()
C
31 25 115
pull_inventory()
B
34 18 94
refresh_category_mappings()
B
37 17 78
push_inventory()
B
42 16 48
upsert_categories()
A
42 10 52
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
validate_products()
S
45 5 43
upsert_new_products()
S
47 5 37
mark_failed_products()
S
52 6 22
push_product_image()
S
54 6 20
update_limits()
S
60 4 13
get_shared_category_ids()
S
61 4 12
convert_to_catalog_object()
S
66 4 7
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
71 1 5
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4